using System.Collections.Generic;

namespace MvpFramework
{
    /// <summary>
    /// Interface that objects that support navigation must implement to for use with the MVP 
    /// Framework
    /// </summary>
    public interface INavigator
    {
        /// <summary>
        /// Navigates to the location specified
        /// </summary>
        /// <param name="location"></param>
        void NavigateTo(string location);
        /// <summary>
        /// Will navigate to the <see cref="IMvpView"/> specified with the options sent.
        /// </summary>
        /// <typeparam name="IMvpView"></typeparam>
        /// <param name="options"></param>
        void NavigateTo<IMvpView>(Dictionary<string, object> options);
        /// <summary>
        /// Will navigate to the <see cref="IMvpView"/> specified.
        /// </summary>
        /// <typeparam name="IMvpView"></typeparam>
        void NavigateTo<IMvpView>();
    }
}